def count_words(string):
    string_list = string.split()
    return len(string_list)

print(count_words("i am a good boy"))

print("i am a good boy".split())
print(len([1,2,3]))